mudbox::Layer Class Reference

#include <layer.h>

Inheritance diagram for mudbox::Layer:

Inheritance graph
[legend]
List of all members.

Detailed Description

This is the base class for anything which is an element of a list with a fixed order and a transparency value assigned to each element.

Examples of derived classes are Mudbox's sculpt layers, paint layers, and viewport filters.


Public Member Functions

virtual const mudbox::ClassDesc RuntimeClass (void) const
virtual float  Transparency (void) const
  Returns the current transparency of the layer. 0 is fully transparent, 1 is opaque.
virtual void  SetTransparency (float fTransparency)
  Sets the transparency of the layer.
virtual Layer Children (void) const
  Returns a pointer to first child of this item, or NULL if this item has no children.
virtual Layer Next (void) const
  Returns a pointer to the next item with the same parent as this one.
virtual Layer Prev (void) const
  Returns a pointer to the previous item with the same parent as this one.
virtual class LayerContainer Container (void) const
  Returns a pointer to the object containing this layer.

Static Public Member Functions

const mudbox::ClassDesc StaticClass (void)
mudbox::Node CreateInstances (unsigned int iCount=1)

Member Function Documentation

virtual const mudbox::ClassDesc* mudbox::Layer::RuntimeClass void   )  const [inline, virtual]
 

Reimplemented from mudbox::TreeNode.

Reimplemented in mudbox::ViewPortFilter.

00027 :
const mudbox::ClassDesc* mudbox::Layer::StaticClass void   )  [static]
 

Reimplemented from mudbox::TreeNode.

Reimplemented in mudbox::ViewPortFilter.

mudbox::Node* mudbox::Layer::CreateInstances unsigned int  iCount = 1  )  [static]
 

Reimplemented from mudbox::TreeNode.

Reimplemented in mudbox::ViewPortFilter.

virtual float mudbox::Layer::Transparency void   )  const [virtual]
 

Returns the current transparency of the layer. 0 is fully transparent, 1 is opaque.

Reimplemented in mudbox::ViewPortFilter.

virtual void mudbox::Layer::SetTransparency float  fTransparency  )  [virtual]
 

Sets the transparency of the layer.

Parameters:
fTransparency  [in] Transparency value, between 0 and 1. 0 is fully transparent, 1 is opaque.

Reimplemented in mudbox::ViewPortFilter.

virtual Layer* mudbox::Layer::Children void   )  const [virtual]
 

Returns a pointer to first child of this item, or NULL if this item has no children.

Reimplemented in mudbox::ViewPortFilter.

virtual Layer* mudbox::Layer::Next void   )  const [virtual]
 

Returns a pointer to the next item with the same parent as this one.

Reimplemented from mudbox::Node.

Reimplemented in mudbox::ViewPortFilter.

virtual Layer* mudbox::Layer::Prev void   )  const [virtual]
 

Returns a pointer to the previous item with the same parent as this one.

Reimplemented in mudbox::ViewPortFilter.

virtual class LayerContainer* mudbox::Layer::Container void   )  const [virtual]
 

Returns a pointer to the object containing this layer.

Reimplemented in mudbox::ViewPortFilter.


mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer
mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer mudbox::Layer